<?php
    $con = mysql_connect("localhost", "root", "");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

$db_selected = mysql_select_db("sms_db",$con);

$sTime = strtotime('now');
$sql = "SELECT * from other WHERE Expireddate <".$sTime;
$result = mysql_query($sql,$con);
//print_r(mysql_fetch_array($result));

while($aRaw = mysql_fetch_array($result)){
    echo $aRaw['Description'].'</br>';
}

mysql_close($con);
?> 